
/**
 * Simulates async call to backend service.
 */
export async function asyncFetchAge(age) {
    // 模拟异步等待，例如 API 请求
    return new Promise((resolve) => {
      setTimeout(() => {
        age++;
        // console.log(age);
        resolve(age);
      }, 2000); // 等待2秒
    });
}

